package com.auxgroup.hr.front.dao.domain;

import java.io.Serializable;

import javax.persistence.*;

import java.math.BigDecimal;


/**
 * The persistent class for the PS_EMPL_PHOTO database table.
 * 
 */
@Entity
@Table(name="PS_EMPL_PHOTO")
@NamedQuery(name="PsEmplPhoto.findAll", query="SELECT p FROM PsEmplPhoto p")
@IdClass(EmplPhotoPrimary.class)
public class PsEmplPhoto implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	private String emplid;

	@Lob
	@Column(name="EMPLOYEE_PHOTO")
	private byte[] employeePhoto;

	@Column(name="PHOTO_IMGNAME")
	private String photoImgname;

	@Id
	@Column(name="PHOTO_SIZENAME")
	private String photoSizename;

	private BigDecimal psimagever = new BigDecimal(123);

	public PsEmplPhoto() {
	}

	public String getEmplid() {
		return this.emplid;
	}

	public void setEmplid(String emplid) {
		this.emplid = emplid;
	}

	public byte[] getEmployeePhoto() {
		return this.employeePhoto;
	}

	public void setEmployeePhoto(byte[] employeePhoto) {
		this.employeePhoto = employeePhoto;
	}

	public String getPhotoImgname() {
		return this.photoImgname;
	}

	public void setPhotoImgname(String photoImgname) {
		this.photoImgname = photoImgname;
	}

	public String getPhotoSizename() {
		return this.photoSizename;
	}

	public void setPhotoSizename(String photoSizename) {
		this.photoSizename = photoSizename;
	}

	public BigDecimal getPsimagever() {
		return this.psimagever;
	}

	public void setPsimagever(BigDecimal psimagever) {
		this.psimagever = psimagever;
	}

}